package com.greenant.store.bean;

import java.io.Serializable;

public class MyMsg implements Serializable
{
    public static final int MSG_TYPE_ORDERDETAIL = 0;

    private String msg;//具体的消息内容
    private long time;//接收到消息的时间
    private String msgTypeId;//对应消息的ID
    private int msgType;//消息类型，点击之后跳转到对应页面，跳转的
    private boolean isRead;//是否已读，0未读，1已读
    private String userId;//用户ID
    public boolean isRead()
    {
        return isRead;
    }

    public void setRead(boolean isRead)
    {
        this.isRead = isRead;
    }

    public String getUserId()
    {
        return userId;
    }

    public void setUserId(String userId)
    {
        this.userId = userId;
    }


    
    public String getMsg()
    {
        return msg;
    }

    public void setMsg(String msg)
    {
        this.msg = msg;
    }

    public long getTime()
    {
        return time;
    }

    public void setTime(long time)
    {
        this.time = time;
    }

    public String getMsgTypeId()
    {
        return msgTypeId;
    }

    public void setMsgTypeId(String msgTypeId)
    {
        this.msgTypeId = msgTypeId;
    }

    public int getMsgType()
    {
        return msgType;
    }

    public void setMsgType(int msgType)
    {
        this.msgType = msgType;
    }

}
